package com.example.studentmanager.model.vo;

import com.example.studentmanager.model.Grade;

public class GradeVo extends Grade {
    private String stuname;
    private String coursename;
    private String  classname;

    public String getStuname() {
        return stuname;
    }

    public void setStuname(String stuname) {
        this.stuname = stuname;
    }

    public String getCoursename() {
        return coursename;
    }

    public void setCoursename(String coursename) {
        this.coursename = coursename;
    }

    public String getClassname() {
        return classname;
    }

    public void setClassname(String classname) {
        this.classname = classname;
    }

    public GradeVo() {

    }

    public GradeVo(double score, Integer courseid, Integer studentid, Integer coursecredit, Integer gradeid, Integer usualperformance,
                   Integer middleexam, Integer finalexam, String stuname, String coursename, String classname, String department, String major, String term) {
        super(score, courseid, studentid, coursecredit, gradeid, usualperformance, middleexam, finalexam);
        this.stuname = stuname;
        this.coursename = coursename;
        this.classname = classname;
        this.department = department;
        this.major = major;
        this.term = term;
    }

    public GradeVo(String stuname, Integer stunum, String coursename, String classname, String department, String major, String term) {
        this.stuname = stuname;

        this.coursename = coursename;
        this.classname = classname;
        this.department = department;
        this.major = major;
        this.term = term;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getMajor() {
        return major;
    }

    public void setMajor(String major) {
        this.major = major;
    }

    public String getTerm() {
        return term;
    }

    public void setTerm(String term) {
        this.term = term;
    }

    private String department;
    private String major;
    private String term;
}
